// import 'core-js/stable';
let name='Alex';
const age=18;
console.log(age,name);
const add=(x,y)=>x+y;
console.log(add(1,1));
new Promise((resolve,reject)=>{
  resolve('成功')
})
Array.from('123')
class Person{
  constructor(name,age){
    Object.assign(this,{name,age})
  }
}
new Person('Alex',18)